package com.mrjy.aiui.dto;

import com.mrjy.common.entity.AiuiRecordInfo;

public class AiuiRecordInfoDTO extends AiuiRecordInfo{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5738064400642262027L;
	
	private int rows; // 每页记录条数
	private int page; // 分页页码
	private int pageStart; // 每页起始记录下标
	
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
		this.pageStart = (page - 1) * rows; // 设置每页起始记录下标
	}

	public int getPageStart() {
		return pageStart;
	}

	public void setPageStart(int pageStart) {
		this.pageStart = pageStart;
	}
}
